/**
 * 
 */
package org.softTank.BC.rs.bean;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

/**
 * @author Yuzone
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "service")
public class ServiceBean {

	@XmlAttribute
	private String name;
	@XmlAttribute
	private String url;
	@XmlAttribute
	private String id;
	@XmlAttribute
	private String isBranch;
	@XmlTransient
	private List<PartnerLinkTypeBean> partnerLinkType;
	@XmlElement
	private List<OperationBean> operation;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String wsdl) {
		this.url = wsdl;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getIsBranch() {
		return isBranch;
	}

	public void setIsBranch(String isBranch) {
		this.isBranch = isBranch;
	}

	public List<PartnerLinkTypeBean> getPartnerLinkType() {
		return partnerLinkType;
	}

	public void setPartnerLinkType(List<PartnerLinkTypeBean> partnerLinkType) {
		this.partnerLinkType = partnerLinkType;
	}

	public List<OperationBean> getOperation() {
		return operation;
	}

	public void setOperation(List<OperationBean> operation) {
		this.operation = operation;
	}
}
